home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Tools 2
/
Amiga Tools 2.iso
/
tex
/
macros
/
source
/
contrib
/
supported
/
xypic
/
src
/
xy2cell.doc
/
node7_mn.html
< prev
next >
Wrap
Text File
|
1995-03-15
|
3KB
|
71 lines
<H2><A ID="SECTION00003000000000000000">
Nudging</A>
</H2>
Positions of all labels may be adjusted,
as can the amount of curvature for the curved arrows.
The way this is done is by specifying a ``nudge'' factor ;SPMlt;num;SPMgt;
at the beginning of the label.
Here ;SPMlt;num;SPMgt; is a number which specifies the actual position of the label
in units of |@| (the length of a single dash, normally 5pt)
except with |.̇compositemap|, see below.
Movement is constrained to the perpendicular bisector
of the line <tex2html_verbatim_mark>#math453#<tex2html_image_mark>#tex2html_wrap_inline1746#.
When nudging the label for the central Arrow
it is the whole Arrow which is moved, along with its label.
<P>
Curvature of the arrows themselves is altered by
a nudge of the form |.̇twocell|;SPMlt;num;SPMgt;....
The separation of the arrows, along the bisector,
is set to be ;SPMlt;num;SPMgt;|@|.
When ;SPMlt;num;SPMgt; is zero, that is |.̇twocell;SPMlt;0;SPMgt;...|,
the result is a single straight arrow,
its mid-point being the origin for nudging labels.
A negative value for ;SPMlt;num;SPMgt; is also acceptable;
but check the orientation on the Arrow
and which of |^| and |_| correspond to which component.
<P>
The origin for nudging labels is where the arrow
crosses the bisector. Positive nudges move
the label outwards while negative nudges move towards <tex2html_verbatim_mark>#math454#<tex2html_image_mark>#tex2html_wrap_inline1748#
and possibly beyond.
The default position of a label is on the outside, with edge at the origin.
<P>
The origin for nudging the Arrow is at the midpoint of <tex2html_verbatim_mark>#math455#<tex2html_image_mark>#tex2html_wrap_inline1750#.
A positive nudge moves in the clockwise direction.
This will be the direction of the arrowhead,
unless it has been reversed using |^|.
<P>
<P></P>
<P>
Labels on a |.̇compositemap| are placed relative to the midpoint
of the component arrows. Nudges are in units of 1pt.
Movement is in the usual -pic <#320#><EM>above</EM><#320#> and <#321#><EM>below</EM><#321#> directions,
such that a positive nudge is always outside the triangle formed
by the arrows and line <tex2html_verbatim_mark>#math456#<tex2html_image_mark>#tex2html_wrap_inline1752#.
<P>
<P><BR>
<P>
The special nudge value |;SPMlt;;SPMgt;| typesets just the Arrow,
omitting the curved arrows entirely.
When used with labels, the nudge value |;SPMlt;;SPMgt;| causes the following label
to be ignored.
<P>
3
<BR>
<tex2html_image_mark>#exercise323#
<BR>
<P>
2